import request from "./request"

// 获取banner
export const GetBanner = (data) => request({ method: "get", url: "/banner", data });

// 获取推荐歌单
export const GetRecommend = (data) => request({ method: "get", url: "/personalized", data });

// 获取新歌速递
export const GetSingle = (data) => request({ method: "get", url: "/personalized/newsong", data });

// 获取推荐mv
export const GetMv = (data) => request({ method: "get", url: "/personalized/mv", data });

// 获取歌曲播放地址
export const GetSongUrl = (data) => request({ method: "get", url: "/song/url", data });

export const GetSongDetail = (data) => request({ method: "get", url: "/song/detail", data })

// 获取歌单详情
export const GetListDetail = (data) => request({ method: "get", url: "/playlist/detail", data });

// 获取歌单评论
export const GetListComments = (data) => request({ method: "get", url: "/comment/playlist", data });

// 获取所有mv
export const GetAllMv = (data) => request({ method: "get", url: "/mv/all", data });

// 搜索
export const Search = (data) => request({ method: "get", url: "/search", data });

// 获取排行榜的音乐
export const MusicList = (data) => request({ method: "get", url: "/top/song", data });

// 获取mv
export const GetSingleMv = (data) => request({ method: "get", url: "/mv/url", data });

// 获取mv详情
export const GetMvDetail = (data) => request({ method: "get", url: "/mv/detail", data });

// 获取mv发布者信息
export const MvAuthor = (data) => request({ method: "get", url: "/artists", data });

// 获取精品歌单信息
export const GetHightQuality = (data) => request({ method: "get", url: "/top/playlist/highquality", data });

// 获取分类所有歌单
export const GetList = (data) => request({ method: "get", url: "/top/playlist/", data });

// 获取歌词
export const GetLyric = (data) => request({ method: "get", url: "/lyric", data })